package com.system.demo.service.comment;

import com.system.demo.entity.comment.CommentsDTO;
import com.system.demo.entity.comment.CommentSearchDTO;
import com.system.demo.entity.comment.ReplyDTO;
import com.system.demo.tool.ResponseResult;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;


public interface CommentService {
    ResponseResult<?> addComment(CommentsDTO commentsDTO);

    ResponseResult<?> getComments(Integer isAll, Integer type,Integer current, Integer size) ;

    ResponseResult<?> deleteComments( Integer commentId);

    ResponseResult<?> likeComments(Integer commentId);

    ResponseResult<?> deleteCommentsByAdmin(Integer type,Integer id);

    ResponseResult<?> addReply(ReplyDTO replyDTO);

    ResponseResult<?> removeReply( Integer replyId);

    ResponseResult<?> getInvolved(Integer current, Integer size);

    ResponseResult<?> getRankingList();

    ResponseResult<?> getPrivateMessage( Integer isCheck, Integer current, Integer size);

    ResponseResult<?> addReplyByAdmin( ReplyDTO replyDTO);

}
